package com.atguigu.tingshu.model.album;

import com.atguigu.tingshu.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "TrackStat")
@TableName("track_stat")
public class TrackStat extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "声音id")
    @TableField("track_id")
    private Long trackId;

    @Schema(description = "统计类型")
    @TableField("stat_type")
    private String statType;

    @Schema(description = "统计数目")
    @TableField("stat_num")
    private Integer statNum;

}
